<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="app" uri="http://www.wanrenhui.com" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
	  <%@include file="/res/include/base-head.jsp"%>
	  <%@include file="/res/include/jquery-easyui.jsp"%>
	<script type="text/javascript" src="${pageContext.request.contextPath}/res/js/hi/hiManual.js"></script>
  </head>
  <body>
	<div class="easyui-layout" data-options="fit:true">
		   <div data-options="region:'north',border:false,split:false">
			   <form id="query-form" class="search_form clearfix">
		            <dl>
						<dt>用户呢称：</dt>
						<dd>
							<input name="userNick" id="userNick" type="text" class="txt" maxlength="64"/>
						</dd>
					</dl>
		            <p class="search_form_btn">
		            	<input type="button" value="搜索" class="icon_serach" onclick="admin.hiManual.query()" />
		            </p>
	        	</form>
		   </div>
		   <div data-options="region:'center',border:false">
			    <table id="datagrid" data-options="url:'${pageContext.request.contextPath}/hi/manual/list',toolbar:'#toolbar'">
					<thead>
						<tr>
							<th data-options="field:'nick',width:200,align:'center' ">用户名称</th>
							<th data-options="field:'money',width:100,align:'center' ">用户的产值货币(圈币)</th>							
							<th data-options="field:'quanValue',width:80,align:'center' ">被赠送或从荣誉系统得到的圈币</th>
							<th data-options="field:'honorValue',width:80,align:'center' ">荣誉值</th>
							<th data-options="field:'honorLevel',width:80,align:'center'">荣誉等级</th>
							<th data-options="field:'honorLevelName',width:80,align:'center' ">荣誉等级名称</th>
				            <th data-options="field:'id',align:'center',width:200,formatter:formatOperation">管理操作</th>
						</tr>
					</thead>
				</table>
	  	  </div>
	</div>
	<script>
		 function formatOperation(value,row,index) {
			 var l_html = '';
			 l_html += '<a href="javascript:;" class="table_link" onclick="admin.hiManual.tohandDo('+row.id+')">奖惩</a>';
			return l_html;
		}
	</script>
  </body>
</html>
